New ERC option to avoid sending accidentally-pasted text to the server.
authorEric Hanchrow <eric.hanchrow@gmail.com>
Fri, 30 Nov 2012 04:18:22 +0000 (12:18 +0800)
committerChong Yidong <cyd@gnu.org>
Fri, 30 Nov 2012 04:18:22 +0000 (12:18 +0800)
commita3d3327df3a64e6e154eb86fd6bd33b75c07a3d7
treea7cb51b454124d741f3637fbcb8cc6e540f0127c
parent6d94e92777e33b0d82fad51478dcd07fe0f24f9d
New ERC option to avoid sending accidentally-pasted text to the server.

* erc.el (erc-last-input-time): New variable.
(erc-accidental-paste-threshold-seconds): New option to avoid
sending accidentally-pasted text to the server.
(erc-send-current-line): Use it.

Also,

* erc.el (erc-lurker-cleanup, erc-lurker-p): Use float-time.
etc/NEWS
lisp/erc/ChangeLog
lisp/erc/erc.el